Strongly typed `enum`s in VS10?

Posted by Motti on Stack Overflow See other posts from Stack Overflow or by Motti
Published on 2010-06-01T08:33:01Z Indexed on 2010/06/01 8:33 UTC
Read the original article Hit count: 259

Filed under:
|
|

This question pointed to a wiki page for C++0x support which lists Strongly typed enums as Partially supported in VS10.

However this creates a compilation error:

enum class boolean { no, yes, maybe };

Any idea what constitutes partial support when the basic syntax isn't accepted?

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about c++0x